package com.padakeji.android.pworks.content;

import java.lang.reflect.Type;

/**
 * Created by AtanL on 2015/9/23.
 */
public interface JsonWorker {

    String toJson(Object o);

    <T> T fromJson(String json, Class<T> c);

    <T> T fromJson(String json, Type t);

}
